
class economy():
    def __init__(self,ingdp,inNComp):
        self.gdp=ingdp
        self.n=inNComp
        #self.n=self.findNOfcompanies()
    
    def findNOfcompanies(self):
        result=0        
        for i in self.comp.keys():
            result+=self.comp[i]
        return result
        